package net.xdclass.shopproject.spring;

public class ProductServiceImpl {

    private ProductMapper productMapper;


    public ProductMapper getProductMapper() {
        return productMapper;
    }

    public void setProductMapper(ProductMapper productMapper) {
        this.productMapper = productMapper;
    }


    public String findProductById(int id) {
        return productMapper.findNameById(id);
    }
}
